#! /usr/bin/env python
# -*- coding:utf-8 -*-
# Author Jmz


# if
# SyntaxError: invalid  syntax



# ff
# NameError: name 'ff' is not defined



# x= []
# x[111]
# IndexError: list index out of range



# open('a.txt','r',encoding="utf-8")
# FileNotFoundError: [Errno 2] No such file or directory: 'a.txt


# int('aa')
# ValueError: invalid literal for int() with base 10: 'aa'

# class foo():
#     pass
# foo.x
# AttributeError: type object 'foo' has no attribute 'x'



# dic = {'name':'jmz'}
# dic['age']
# KeyError: 'age'




# for i in 3:
#     print(i)
# TypeError: 'int' object is not iterable